# $Id: PKGBUILD 237181 2015-04-15 17:45:52Z arojas $
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=telepathy-accounts-signon
pkgver=1.0
pkgrel=1
pkgdesc="A mission control plugin for Telepathy, integrating with libaccounts and libsignon to provide IM accounts and authentication"
arch=(i686 x86_64)
url='https://gitlab.com/accounts-sso/telepathy-accounts-signon'
license=(LGPL)
depends=(telepathy-mission-control libaccounts-glib libsignon-glib)
makedepends=(qt5-base)
source=("https://gitlab.com/accounts-sso/$pkgname/repository/archive.tar.gz?ref=$pkgver")
sha1sums=('828e7303c20e5861f79c1a9b52e29a9b985eb94a')

build() {
  mkdir -p build 
  cd build
  qmake-qt5 ../$pkgname.git
  make
}

package() {
  cd build
  make INSTALL_ROOT="$pkgdir" install
}
